package com.groupfive.service;

import com.github.pagehelper.PageInfo;
import com.groupfive.pojo.Dept;

import java.util.List;


public interface DeptService {

    public List<Dept> selectAll(Dept dept);

    Dept selectById(Long id);

    public PageInfo<Dept> selectPage(Dept dept, Integer pageNum, Integer pageSize);

    int add(Dept dept);

    int update(Dept dept);

    int deleteById(Long id);

    void deleteBatch(List<Long> ids);
}
